package cn.com.se.sharepictrue.widget;

import android.app.ProgressDialog;
import android.content.Context;
import android.support.annotation.Nullable;

/**
 * Created by KIDNG on 2015/11/29.
 */
public class BaseProgressDialog extends ProgressDialog {
    public BaseProgressDialog(Context context) {
        super(context);
        setCanceledOnTouchOutside(false);
        setMessage("加载中...");
    }

    public BaseProgressDialog(Context context, @Nullable String msg) {
        this(context);
        if (msg != null)
            setMessage(msg);
    }

    public BaseProgressDialog(Context context, int theme) {
        super(context, theme);
        setCanceledOnTouchOutside(false);
        setMessage("加载中...");
    }


}
